<template>
    <van-address-list v-model="chosenAddressId" :list="list" :disabled-list="disabledList"
        default-tag-text="默认" @add="onAdd" @edit="onEdit" @click="dj"/>
        <van-button type="primary" size="normal" @click="tj">添加地址</van-button>
</template>

<script setup>
import { useRouter } from 'vue-router';
let router=useRouter()
const list = [
      {
        id: '1',
        name: '斌',
        tel: '18312341234',
        address: '北京市北京市东城区八维',
        isDefault: true,
      },
    ];
    let dj=()=>{
        router.push('/cart')
    }
    let tj=()=>{
        router.push('tjdz')
    }
</script>

<style lang="scss" scoped></style>